How to calculate the gradient of straight line

join shbcf.ru